from sqlalchemy import Table, MetaData, Column, Integer, String, ForeignKey
from sqlalchemy.orm import registry
mapper_registry = registry()
Base = mapper_registry.generate_base()

class Player(Base):
    __tablename__ = "player"
    p_id = Column(Integer, primary_key=True)
    t_id = Column(String(10))
    p_name = Column(String(10))
    def __init__(self,p_id=None,t_id=None,p_name=None):
        self.p_id = p_id
        self.t_id = t_id
        self.p_name = p_name








